<template>
  <div>
    <h3>我是孙子</h3>
    <div>{{$attrs}}</div>
    <button @click="toGrandFatherFeeback">感谢</button>
  </div>
</template>

<script>
export default {
    methods:{
        toGrandFatherFeeback(){
            this.$emit('thankYou',"感谢我亲爱的爷爷，我爱你，明年再继续")
        }
    }
}
</script>

<style>

</style>